from api.basic_api import BaseSellerApi


class OrderDeliveryApi(BaseSellerApi):
    def __init__(self,order_sn):
        super().__init__()
        self.url=f'{self.host}/seller/trade/orders/{order_sn}/delivery'
        self.method='post'
        self.data = {
            "ship_no":'saueiei',
            'logi_id':13,
            'lodi_name':'中通01'

        }

class OrderConfirmPayApi(BaseSellerApi):
    def __init__(self,order_sn,pay_price):
     super().__init__()
     self.url =f'{self.host}/seller/trade/orders/{order_sn}/pay'

     self.method = 'post'
     self.data = {
        "pay_price": pay_price

     }

